#if 1
#include "stdio.h"

int main(){
	/*
	程序的提示语句太多。。。懒得打
	大概意思就是各种输入
	程序的作用就是用来理解scanf()函数的各种用法
	如果是在需要可以找教材第61页
	*/
	char c;
	int year,month,day;
	float f;
	double d;
	char s[10];
	printf("input: ");
	scanf("%c %d %o % x",&c,&year,&month,&day);
	printf("D = %d,O = %o,H = %x,C = %d\n",year,month,day,c);
	printf("input: ");
	scanf("%f %lf",&f,&d);
	printf("input: ");
	scanf("%10s",s);
	printf("String = %s\n",s);
	scanf("%4d %2d %*s %2d",&year,&month,&day);
	printf("%d%d%d\n",year,month,day);
	return 0;
}
#endif
